package com.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RestController
public class IndexController {
    @RequestMapping("/")
    public ModelAndView getThymeleaf() {
        ModelAndView modelAndView = new ModelAndView("index");
        return modelAndView;
    }
}
